package com.sodaopen.study.mapper;

import org.apache.ibatis.annotations.Select;

import com.sodaopen.study.entity.Stage;

import java.util.List;

public interface StageMapper {

    @Select("select * from t_stage order by sort")
    List<Stage> selectAll();

    @Select("select * from t_stage where id=#{id}")
	Stage selectById(Integer id);
}
